package com.ruoyi.core.config.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 简单的用户信息
 */
public class SUserVo {
    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    @ExcelProperty(value = "id")
    private Long id;



    /**
     * 用户类型
     */
    @ExcelProperty(value = "用户类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "usr_utype")
    private String utype;

    /**
     * 手机
     */
    @ExcelProperty(value = "手机")
    private String tel;

    /**
     * 昵称
     */
    @ExcelProperty(value = "昵称")
    private String nickname;

    /**
     * 性别
     */
    @ExcelProperty(value = "性别", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_user_sex")
    private String sex;

    /**
     * 头像
     */
    @ExcelProperty(value = "头像")
    private String avatar;


    /**
     * 最近登录
     */
    @ExcelProperty(value = "最近登录")
    private Date lastLoginTime;

}
